package java2020spring;

import java.awt.*;
import javax.swing.*;

public class AboutWindow extends JFrame{

	JLabel label;
	FlowLayout flowlayout;
	
	public AboutWindow(String t){
				
		label=new JLabel("一个简易文本编辑器:"
				+ "由学生蓝欣宜（201925710205）设计开发，参考了教材例子和一些课外资料,"
				+ "仅供部分功能测试和应用");

		this.add(label);
		this.setTitle(t);
		this.setSize(800,300);
		this.setVisible(true);
		this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
	}
}